﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace SearchEngine
{
    public delegate void SearchFinishedDelegate(object sender, SearchHelperEventArgs e);
    
    public interface ISearchEngineSearchHelper
    {

        event SearchFinishedDelegate SearchFinished;


        int MaximumDocument
        {
            get;
            set;
        }

        ISearchEngineDocuments Search(string indexPath, string SearchStatement, params string[] DefaultFields);


        void BeginSearch(string indexPath, string SearchStatement, System.Collections.Hashtable otherInformation, params string[] DefaultFields);
    }
}
